package com.eightbears.beboy.entity;

import com.eightbears.beboy.base.BaseDataEntity;
import com.eightbears.beboy.base.BaseEntity;

import java.util.List;

/**
 * Created by Bao on 2017/9/19.
 */

public class ShopSellDataEntity extends BaseEntity {

    private SellData data;

    public SellData getData() {
        return data;
    }

    public void setData(SellData data) {
        this.data = data;
    }

    @Override
    public String toString() {
        return "ShopSellDataEntity{" +
                "data=" + data +
                '}';
    }

    public static class SellData extends BaseDataEntity {

        private String total_purchases;
        private String total_balance;
        private String total_verify_purchases;
        private String total_verify_balance;
        private List<OnData> on_date;

        public List<OnData> getOn_date() {
            return on_date;
        }

        public void setOn_date(List<OnData> on_date) {
            this.on_date = on_date;
        }

        public String getTotal_purchases() {
            return total_purchases;
        }

        public void setTotal_purchases(String total_purchases) {
            this.total_purchases = total_purchases;
        }

        public String getTotal_balance() {
            return total_balance;
        }

        public void setTotal_balance(String total_balance) {
            this.total_balance = total_balance;
        }

        public String getTotal_verify_purchases() {
            return total_verify_purchases;
        }

        public void setTotal_verify_purchases(String total_verify_purchases) {
            this.total_verify_purchases = total_verify_purchases;
        }

        public String getTotal_verify_balance() {
            return total_verify_balance;
        }

        public void setTotal_verify_balance(String total_verify_balance) {
            this.total_verify_balance = total_verify_balance;
        }

        @Override
        public String toString() {
            return "SellData{" +
                    "total_purchases='" + total_purchases + '\'' +
                    ", total_balance='" + total_balance + '\'' +
                    ", total_verify_purchases='" + total_verify_purchases + '\'' +
                    ", total_verify_balance='" + total_verify_balance + '\'' +
                    ", on_date=" + on_date +
                    '}';
        }
    }

    public static class OnData {

        private String date;
        private String num;
        private String balance;
        private List<EachCoupon> each_coupon;
        private String refund_purchases;
        private String refund_balance;

        public OnData() {
        }

        public OnData(String date, String num, String balance, String refund_purchases, String refund_balance) {
            this.date = date;
            this.num = num;
            this.balance = balance;
            this.refund_purchases = refund_purchases;
            this.refund_balance = refund_balance;
        }

        public String getDate() {
            return date;
        }

        public void setDate(String date) {
            this.date = date;
        }

        public String getNum() {
            return num;
        }

        public void setNum(String num) {
            this.num = num;
        }

        public String getBalance() {
            return balance;
        }

        public void setBalance(String balance) {
            this.balance = balance;
        }

        public List<EachCoupon> getEach_coupon() {
            return each_coupon;
        }

        public void setEach_coupon(List<EachCoupon> each_coupon) {
            this.each_coupon = each_coupon;
        }

        public String getRefund_purchases() {
            return refund_purchases;
        }

        public void setRefund_purchases(String refund_purchases) {
            this.refund_purchases = refund_purchases;
        }

        public String getRefund_balance() {
            return refund_balance;
        }

        public void setRefund_balance(String refund_balance) {
            this.refund_balance = refund_balance;
        }

        @Override
        public String toString() {
            return "OnData{" +
                    "date='" + date + '\'' +
                    ", num='" + num + '\'' +
                    ", balance='" + balance + '\'' +
                    ", each_coupon=" + each_coupon +
                    ", refund_purchases='" + refund_purchases + '\'' +
                    ", refund_balance='" + refund_balance + '\'' +
                    '}';
        }
    }

    public static class EachCoupon {

        private String coupon_id;
        private String num;
        private String balance;
        private Coupon coupon;

        public String getCoupon_id() {
            return coupon_id;
        }

        public void setCoupon_id(String coupon_id) {
            this.coupon_id = coupon_id;
        }

        public String getNum() {
            return num;
        }

        public void setNum(String num) {
            this.num = num;
        }

        public String getBalance() {
            return balance;
        }

        public void setBalance(String balance) {
            this.balance = balance;
        }

        public Coupon getCoupon() {
            return coupon;
        }

        public void setCoupon(Coupon coupon) {
            this.coupon = coupon;
        }

        @Override
        public String toString() {
            return "EachCoupon{" +
                    "coupon_id='" + coupon_id + '\'' +
                    ", num='" + num + '\'' +
                    ", balance='" + balance + '\'' +
                    ", coupon=" + coupon +
                    '}';
        }
    }

    public static class Coupon {

        private String id;
        private String title;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        @Override
        public String toString() {
            return "Coupon{" +
                    "id='" + id + '\'' +
                    ", title='" + title + '\'' +
                    '}';
        }
    }
}
